<template>
  <div>
    <el-button type="primary" icon="el-icon-upload">page one</el-button>
    <el-button type="primary" icon="el-icon-upload" @click="go">go</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {
    go() {
      const msg = 'I\'am fine';
      this.$router.push({name: 'pagetwo', params: {msg}});
    }
  }
}
</script>

<style>

</style>
